package metamodels;

import parser.generic.Node;

public class Multiplicity extends Node{

	private String lower, upper;
	
	
	public Multiplicity(String string, String string2) {
		this.lower  = string;
		this.upper = string2;
	}

	public Multiplicity() {
	}
	
	@Override
	public String toString() {
		
		if (lower == null || upper == null)
			return "";
		
		return "[" + lower + ".." + upper + "]";
	}
}
